package com.company.recruit.spider;

import com.company.recruit.common.R;
import com.company.recruit.spider.entity.BossData;
import com.company.recruit.spider.service.SpiderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


/**
 * @author XiAoXu
 * @date 2021/12/7 20:50
 * @description 爬虫接口(测试使用)
 */
@RestController()
@RequestMapping("/spider")
public class SpiderController {

    @Autowired
    private SpiderService service;


    @RequestMapping("/list")
    public void list() {
        service.dealWithData();
    }
}
